<?php
ini_set("display_errors","1");
//date_default_timezone_set("Etc/GMT+0");

		include_once './aliyun-openapi/aliyun-php-sdk-core/Config.php';
        use live\Request\V20161101 as live;
		$iClientProfile = DefaultProfile::getProfile("cn-hangzhou", "QTOlfzI9L0f4v7iR", "I13fvf4xeFRoBMPCfFgoUT18oA0OJy");
		$client = new DefaultAcsClient($iClientProfile);

        $request = new live\DescribeLiveStreamHistoryUserNumRequest();
        $request->setAppName("jw");
        $request->setDomainName("jwlive.appwuhan.com");
        $request->setEndTime("2018-01-01T08:59:59Z");
        $request->setStartTime("2018-01-01T00:00:00Z");
        $request->setStreamName("20171114092020_703_5a0a44d4343a6_703");

        echo $request->getEndTime();
       $response = $client->getAcsResponse($request); 
		print_r($response);
?>

